package com.example.yunbiji0314.service.iml;

import com.example.yunbiji0314.dao.TPermissionDao;
import com.example.yunbiji0314.pojo.TPermission;
import com.example.yunbiji0314.service.TPermissionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TPermissionServiceImpl implements TPermissionService {

    @Autowired
    private TPermissionDao tPermissionDao;
    @Override
    public List<TPermission> findById(Integer id) {
        return tPermissionDao.findById(id);
    }
}
